#define _CRT_SECURE_NO_DEPRECATE
#include<stdio.h>
int main()
{
	int count = 0;
	char a[] = "in";
	char b[] = "chinese is very simple in china";
	char *p1 = a;
	char *p2 = b;
	while (*p2 != '\0')
	{
		do
		{
			if (*p1 != *p2)
			{
				break;
			}
			p1++;
			p2++;
		} while (*p1 == *p2);
		if (*p1 == '\0')
		{
			count++;
		}
		p2++;
		p1 = a;
	}
	printf("%d", count);
	return 0;
}